﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for HFDependents
/// </summary>
/// 
namespace CE.HomeRefinance
{
    public class HFDependents
    {
        private Int64 _hfpersonnelid = 0;
        private Int64 _hfid = 0;
        private bool _hfismainborrower;
        private DateTime _hfdependentsdob;
        private string _hfrelationship;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public HFDependents()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 HFPersonnelId
        {
            get { return _hfpersonnelid; }
            set { _hfpersonnelid = value; }
        }

        public Int64 HFID
        {
            get { return _hfid; }
            set { _hfid = value; }
        }

        public bool HFIsMainBorrower
        {
            get { return _hfismainborrower; }
            set { _hfismainborrower = value; }
        }

        public DateTime HFDependentsDOB
        {
            get { return _hfdependentsdob; }
            set { _hfdependentsdob = value; }
        }

        public string HFRelationship
        {
            get { return _hfrelationship; }
            set { _hfrelationship = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _hfpersonnelid = 0;
            _hfid = 0;
            _hfismainborrower = false;
            _hfdependentsdob = new DateTime();
            _hfdependentsdob = CE.Global.General.GetUTCDateTime();
            _hfrelationship = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime(); 
        }

    }
}